import request from '@/utils/request'

// 列表
export function queryBaseHeadFreightList(data){
  return request({
    url: '/v1/base/base-head-freight/list',
    method: 'POST',
    data
  })
}

// 创建头程费用
export function createBaseHeadFreight(data){
  return request({
    url: '/v1/base/base-head-freight/create',
    method: 'POST',
    data
  })
}

// 编辑头程费用
export function updateBaseHeadFreight(data){
  return request({
    url: '/v1/base/base-head-freight/update',
    method: 'POST',
    data
  })
}

// 详情数据
export function baseHeadFreightDetail(data){
  return request({
    url: '/v1/base/base-head-freight/detail',
    method: 'POST',
    data
  })
}

// 日志列表
export function getBaseHeadFreightLog(data){
  return request({
    url: '/v1/base/base-head-freight/log',
    method: 'POST',
    data
  })
}

// 变更状态
export function changeStatusBaseHeadFreight(data){
  return request({
    url: '/v1/base/base-head-freight/change-status',
    method: 'POST',
    data
  })
}

